package pers.qianyu.module.comment.exception;

import pers.qianyu.exception.*;

public enum CommentErrorCodeEnum implements ILambErrorCodeEnum {
    INVALID_ID(2101, "非法评论 ID");

    @Override
    public String getMessage() {
        return message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    private final Integer code;
    private final String message;

    CommentErrorCodeEnum(Integer code, String message) {
        this.message = message;
        this.code = code;
    }
}
